#include <QApplication>
#include "mainwindow.h"

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);

    QCoreApplication::setOrganizationName("Format's");
    QCoreApplication::setApplicationName("FileFridge");

    QFile file(":/stylesheet.qss");
    if(file.open(QIODevice::ReadOnly | QIODevice::Text))
    {
       qApp->setStyleSheet(file.readAll());
       file.close();
    }

    MainWindow w;
    w.show();
    
    return a.exec();
}
